<template>
  <el-card
    >二级菜单1
    <el-button @click="test">测试</el-button>
  </el-card>
</template>
<script setup>
// import { getCurrentInstance } from "vue";
// const { proxy } = getCurrentInstance();
// const { $message } = proxy;
const test = () => {
  $message("删除该函数");
};
</script>
<style lang="">
</style>